package com.songcha.module_home.ui.adapter;

import com.chad.library.adapter.base.entity.MultiItemEntity;

public class HomeMultiItemType implements MultiItemEntity {
    public Object data;
    private int type=0;

    public static int HOME_MULTIITEMTYPE_TOP_BANNER = 1;
    //public static int HOME_MULTIITEMTYPE_ADVERT_XXL = 2;
    public static int HOME_MULTIITEMTYPE_EDITOR_RECOMMEND = 2;
    public static int HOME_MULTIITEMTYPE_MIDDLE_BANNER = 3;
    public static int HOME_MULTIITEMTYPE_NEWBOOK_SHELVE = 4;
    public static int HOME_MULTIITEMTYPE_HOT_LSIT = 5;


    public HomeMultiItemType(int type,Object data){
        this.type=type;
        this.data=data;
    }

    @Override
    public int getItemType() {
        return this.type;
    }


}
